#include "adalog/LogLevel.h"

namespace adalog
{
    std::string LogLevel::ToString(LogLevel::Value level)
    {
        switch (level) 
        {
        case LogLevel::DEBUG:
            return "DEBUG";
        case LogLevel::INFO:
            return "INFO";
        case LogLevel::WARN:
            return "WARN";
        case LogLevel::ERROR:
            return "ERROR";
        case LogLevel::FATAL:
            return "FATAL";
        }
        return "UNKNOWN";
    }
} // namespace adalog